<template>
    <view>
        <!-- 轮播 -->
        <!-- <MmvSwiper v-if="isComponents=='MmvSwiper'"></MmvSwiper> -->
        <!-- 公告 -->
        <MmvNotice v-if="isComponents=='MmvNotice'" ></MmvNotice>
        <!-- 导航菜单 -->
        <MmvMenu v-if="isComponents=='MmvMenu'"></MmvMenu>
        <!-- 热门咨询 -->
        <!-- <MmvHotInformation v-if="isComponents=='MmvHotInformation'"></MmvHotInformation> -->
        <!-- 临时放置 车辆购买列表 -->
        <MmvBuyBasicList v-if="isComponents=='MmvBuyBasicList'"></MmvBuyBasicList>
        <!-- 热门租车 -->
        <MmvPopularCarRental v-if="isComponents=='MmvPopularCarRental'"></MmvPopularCarRental>
        <!-- 优惠券 -->
        <MmvCoupon v-if="isComponents=='MmvCoupon'"></MmvCoupon>
        <!-- 热门活动 -->
        <MmvPopularActivities v-if="isComponents=='MmvPopularActivities'"></MmvPopularActivities>
    </view>
</template>

<script>
// 代理组件
import MmvSwiper from './mmv-swiper.vue';
import MmvNotice from './mmv-notice.vue';
import MmvCoupon from './mmv-coupon.vue';
import MmvHotInformation from './mmv-hot-information.vue';
import MmvPopularActivities from './mmv-popular-activities.vue';
import MmvMenu from './mmv-menu.vue';
import MmvBuyBasicList from './mmv-buy-basic-list.vue';
import MmvPopularCarRental from './mmv-popular-car-rental.vue';



export default {
    name: 'MmvHomeTemplate',
    components: {
        MmvSwiper,
        MmvNotice,
        MmvMenu,
        MmvCoupon,
        MmvHotInformation,
        MmvPopularActivities,
        MmvBuyBasicList,
        MmvPopularCarRental,
    },
    props: {
        isComponents: {
            type: String,
            default: '',
        },
        homeData: {
            type: Array,
            default: function () {
                return {};
            }
        },
    }


}
</script>